package cn.kgc.watch.service.impl;

import cn.kgc.watch.entity.Carousel;
import cn.kgc.watch.mapper.CarouselMapper;
import cn.kgc.watch.service.CarouselService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CarouselServiceImpl implements CarouselService {
    @Resource
    private CarouselMapper carouselMapper;
    @Override
    public List<Carousel> findCarousels() {
        return this.carouselMapper.selectCarousels();
    }
}
